package com.xyz.study.design_mode.n_chain_of_responsibility.mode;

/**
 * 角色：ConcreteHandler 具体的处理器
 *
 * @author XYZ
 * @version 1.0
 * @since 2023/1/11
 */
public class ConcreteHandlerA extends Handler {
    @Override
    public boolean support(String something) {
        String supportFlag = "A";
        return supportFlag.equals(something);
    }

    @Override
    public void handle() {
        System.out.println("处理器A正在处理问题！");
    }
}
